<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
    <title>便捷线充价格配置</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  #parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid layui-form" wid100>
    <input type="hidden" name="id" value="$!{id}"/>
    <div class="layui-row">
        <div class="layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">模版标题</label>
                <div class="layui-input-block">
                    <input type="text" name="title" lay-verify="required" placeholder="请输入收费模版标题" autocomplete="off" class="layui-input" value="$!{title}">
                </div>
            </div>
        </div>
        <div class="layui-col-sm6">
            <div class="layui-form-item">
                <label class="layui-form-label">设备类型</label>
                <div class="layui-input-block">
                    <select name="deviceTypeId">
                        <option value="">不限制</option>
                        #foreach($item in $deviceTypeList)
                        <option value="$!{item.id}" $!{utils.eq($deviceTypeId,$item.id,'selected')}>$!{item.name}</option>
                        #end
                    </select>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">所属代理</label>
        <div class="layui-input-block">
          <select id="userId" name="userId" class="layui-hide form-control" lay-ignore>
              #if($userName)
            <option value="$!{userId}">$!{userName}</option>
              #end
          </select>
        </div>
    </div>

    <div class="layui-card">
        <div class="layui-card-header">
            套餐列表
            <div style="float: right;">
                <button class="layui-btn layui-btn-sm LAY-btn-fun" data-type="add">新增</button>
            </div>
        </div>
        <div class="layui-card-body">
            <table id="LAY-table" lay-filter="LAY-table"></table>
            <script type="text/html" id="LAY-table-toolbar">
                <a class="layui-btn layui-btn-xs" lay-event="update">修改</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>
        </div>
    </div>

   <div class="layui-form-item layui-hide">
     <input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
   </div>
</div>
#parse('/footFiles.html')
<script>
layui.config({
  base: '$!{webRoot}/layuiadmin/'
  ,webRoot:'$!{webRoot}'
  ,resDomain:'$!{resDomain}'
}).extend({
  index: 'lib/index'
  ,pcl_fee_template_edit:'pcl/pcl_fee_template_edit'
}).use(['index','pcl_fee_template_edit'])
</script>
</body>
</html>